package edu.sjtu.grid.workflow.test;

import java.io.File;

import edu.sjtu.grid.workflow.Util;

public class Clear {

	public static void main(String[] args) {
		clear("facts/Epigenomics_24/facts.xml");
		clear("facts/Inspiral_30/facts.xml");
		clear("facts/Montage_25/facts.xml");
		clear("facts/CyberShake_30/facts.xml");
		
		clear("facts/Epigenomics_46/facts.xml");
		clear("facts/CyberShake_50/facts.xml");

	}

	private static void clear(String file)
	{
		File f = new File(file);
		String dir = f.getParent();
		String run = dir + "/runs.xml";
		Util.saveToNewFile(run, "");
	}
	
}
